

.cd-main-content {

  /* set a min-height and a z-index to be sure that the main element completely covers the lateral menu */

  min-height: 100%;

  position: relative;

  z-index: 2;

  /* Force Hardware Acceleration in WebKit */

 /* -webkit-transform: translateZ(0);

  -webkit-backface-visibility: hidden;

  -webkit-transition-property: -webkit-transform;

  -moz-transition-property: -moz-transform;

  transition-property: transform;*/

  -webkit-transition-duration: 0.4s;

  -moz-transition-duration: 0.4s;

  transition-duration: 0.4s;

}

.cd-main-content.lateral-menu-is-open {

  /* translate to show the lateral menu - all content needs to be put in the .cd-main-content to translate*/

  -webkit-transform: translateX(-150px);

  -moz-transform: translateX(-150px);

  -ms-transform: translateX(-150px);

  -o-transform: translateX(-150px);

  transform: translateX(-150px);

}



.conn{  width:100%;  z-index: 3;background-color:#fff;margin-top: -20px;

  /* Force Hardware Acceleration in WebKit */

 /* -webkit-transform: translateZ(0);

  -webkit-backface-visibility: hidden;

  -webkit-transition-property: -webkit-transform;

  -moz-transition-property: -moz-transform;

  transition-property: transform;*/

  -webkit-transition-duration: 0.4s;

  -moz-transition-duration: 0.4s;

  transition-duration: 0.4s;

}

.scrollup{ 

  /* Force Hardware Acceleration in WebKit */

  -webkit-transform: translateZ(0);

  -webkit-backface-visibility: hidden;

  -webkit-transition-property: -webkit-transform;

  -moz-transition-property: -moz-transform;

  transition-property: transform;

  -webkit-transition-duration: 0.4s;

  -moz-transition-duration: 0.4s;

  transition-duration: 0.4s;

}

.conn.lateral-menu-is-open{

  /* translate to show the lateral menu */

  -webkit-transform: translateX(-150px);

  -moz-transform: translateX(-150px);

  -ms-transform: translateX(-150px);

  -o-transform: translateX(-150px);

  transform: translateX(-150px);

}







#cd-menu-trigger .cd-menu-icon {

  /* this span is the central line in the menu menu */

  display: inline-block;

  position: absolute;

  left: 50%;

  top: 50%;

  bottom: auto;

  right: auto;

  -webkit-transform: translateX(-50%) translateY(-50%);

  -moz-transform: translateX(-50%) translateY(-50%);

  -ms-transform: translateX(-50%) translateY(-50%);

  -o-transform: translateX(-50%) translateY(-50%);

  transform: translateX(-50%) translateY(-50%);

  width: 18px;

  height: 2px;

  background-color: #FFF;

  /* these are the upper and lower lines in the menu menu */

}

#cd-menu-trigger .cd-menu-icon::before, #cd-menu-trigger .cd-menu-icon:after {

  content: '';

  width: 100%;

  height: 100%;

  position: absolute;

  background-color: inherit;

  left: 0;

}

#cd-menu-trigger .cd-menu-icon::before {

  bottom: 5px;

}

#cd-menu-trigger .cd-menu-icon::after {

  top: 5px;

}

#cd-menu-trigger.is-clicked .cd-menu-icon {

  background-color: rgba(255, 255, 255, 0);

}

#cd-menu-trigger.is-clicked .cd-menu-icon::before, #cd-menu-trigger.is-clicked .cd-menu-icon::after {

  background-color: white;

}

#cd-menu-trigger.is-clicked .cd-menu-icon::before {

  bottom: 0;

  -webkit-transform: rotate(45deg);

  -moz-transform: rotate(45deg);

  -ms-transform: rotate(45deg);

  -o-transform: rotate(45deg);

  transform: rotate(45deg);

}

#cd-menu-trigger.is-clicked .cd-menu-icon::after {

  top: 0;

  -webkit-transform: rotate(-45deg);

  -moz-transform: rotate(-45deg);

  -ms-transform: rotate(-45deg);

  -o-transform: rotate(-45deg);

  transform: rotate(-45deg);

}

@media only screen and (min-width: 768px) {

  

  #cd-menu-trigger .cd-menu-text {

    display: inline-block;

    line-height: 70px;

  }

  #cd-menu-trigger .cd-menu-icon {

    left: auto;

    right: 1.25em;

    -webkit-transform: translateX(0);

    -moz-transform: translateX(0);

    -ms-transform: translateX(0);

    -o-transform: translateX(0);

    transform: translateX(0);

  }

}



#cd-lateral-nav {

	  background: #3A3A3A;

  position: fixed;

  height: 100%;

  right: 0;

  top: 0;



  visibility: hidden;

  /* the secondary navigation is covered by the main element */

  z-index: 1;

  width: 150px;



  overflow-y: auto;

  /* Force Hardware Acceleration in WebKit */

  -webkit-transform: translateZ(0);

  -webkit-backface-visibility: hidden;

  -webkit-transition: -webkit-transform .4s 0s, visibility 0s .4s;

  -moz-transition: -moz-transform .4s 0s, visibility 0s .4s;

  transition: transform .4s 0s, visibility 0s .4s;

  /* this creates the subtle slide in animation of the navigation */

  -webkit-transform: translateX(150px);

  -moz-transform: translateX(150px);

  -ms-transform: translateX(150px);

  -o-transform: translateX(150px);

  transform: translateX(150px);

}

#cd-lateral-nav .cd-navigation {

  margin: 10px 0 16px;

}

#cd-lateral-nav .sub-menu {

  padding: 0 10px 20px 15px;

  display: none;

}

#cd-lateral-nav a {

  display: block;

  line-height:45px;

  padding: 0 16px 0 15px;

  color: #fff;

  font-size:14px;

  font-weight: bold;

    position: relative;

}

#cd-lateral-nav a.current {

  background-color: #3a4a4d;

  color: #FFF;

}



@media only screen and (min-width: 768px) {

  #cd-lateral-nav .cd-navigation {

    margin: 20px 0;

  }

}

#cd-lateral-nav.lateral-menu-is-open {

  -webkit-transform: translateX(0);

  -moz-transform: translateX(0);

  -ms-transform: translateX(0);

  -o-transform: translateX(0);

  transform: translateX(0);

  visibility: visible;

  -webkit-transition: -webkit-transform .4s 0s, visibility 0s 0s;

  -moz-transition: -moz-transform .4s 0s, visibility 0s 0s;

  transition: transform .4s 0s, visibility 0s 0s;

  /* smooth the scrolling on touch devices - webkit browsers */

  -webkit-overflow-scrolling: touch;

}



/* style menu items which have a submenu  */

#cd-lateral-nav .item-has-children > a {

  position: relative;

  text-transform: uppercase;

  font-weight: 600;

  /* this is the right arrow to show that the item has a submenu  */

}

#cd-lateral-nav li > a::after {

  content: '';

  display: block;

  height: 11px;

  width: 8px;

  position: absolute;

  top: 50%;

  bottom: auto;

  -webkit-transform: translateY(-50%);

  -moz-transform: translateY(-50%);

  -ms-transform: translateY(-50%);

  -o-transform: translateY(-50%);

  transform: translateY(-50%);

  right: 1em;

  background: url(../images/nav-arrow.png) no-repeat center center;

  background-size: 8px 11px;

  -webkit-transition-property: -webkit-transform;

  -moz-transition-property: -moz-transform;

  transition-property: transform;

  -webkit-transition-duration: 0.2s;

  -moz-transition-duration: 0.2s;

  transition-duration: 0.2s;

}

#cd-lateral-nav li > a.submenu-open::after {

  -webkit-transform: translateY(-50%) rotate(90deg);

  -moz-transform: translateY(-50%) rotate(90deg);

  -ms-transform: translateY(-50%) rotate(90deg);

  -o-transform: translateY(-50%) rotate(90deg);

  transform: translateY(-50%) rotate(90deg);

}



